<?php
	global $_W,$_GPC;
	if($_W['role']&&$_W['isajax']){
		$bid = $_GPC['bid'];
		$price = $_GPC['price'];
		$up =pdo_update('mii_ang_book',array('price'=>$price),array('id'=>$bid));
		if($up){
			$code =json_encode(array('status'=>'1','msg'=>'操作成功'));
			exit($code);	
		}else{
			$code =json_encode(array('status'=>'2','msg'=>'操作失败'));
			exit($code);			
		}	

	}else{
		$code =json_encode(array('status'=>'2','msg'=>'没有操作权限'));
		exit($code);
	}



?>